using SqlSugar;

namespace CaipuGuanliXitong.Models;

[SugarTable("DailyPurchase")]
public class DailyPurchase
{
    [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
    public int Id { get; set; }
    
    [SugarColumn(IsNullable = false)]
    public DateTime Date { get; set; }
    
    [SugarColumn(IsNullable = false)]
    public int BreakfastMaleCount { get; set; }
    
    [SugarColumn(IsNullable = false)]
    public int BreakfastFemaleCount { get; set; }
    
    [SugarColumn(IsNullable = false)]
    public int LunchMaleCount { get; set; }
    
    [SugarColumn(IsNullable = false)]
    public int LunchFemaleCount { get; set; }
    
    [SugarColumn(IsNullable = false)]
    public int DinnerMaleCount { get; set; }
    
    [SugarColumn(IsNullable = false)]
    public int DinnerFemaleCount { get; set; }
    
    [SugarColumn(IsNullable = false)]
    public DateTime CreatedTime { get; set; }
    
    [SugarColumn(IsNullable = false)]
    public DateTime UpdatedTime { get; set; }
    
    [SugarColumn(IsNullable = false, DefaultValue = "false")]
    public bool IsDeleted { get; set; }
}